package com.ghck.server.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import com.ghck.server.aop.ApiAccessAspect;

@Configuration
@ComponentScan("com.ghck.server.aop")
@EnableAspectJAutoProxy(proxyTargetClass=false)
public class AspectjConfig {
	
	@Bean
	public ApiAccessAspect apiAccessAspect(){
		return new ApiAccessAspect();
	}
}
